package org.jeecg.modules.lab.chemical.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.lab.chemical.entity.ChemicalFactory;
import org.jeecg.modules.lab.chemical.mapper.ChemicalFactoryMapper;
import org.jeecg.modules.lab.chemical.service.ChemicalFactoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChemicalFactoryServiceImpl extends ServiceImpl<ChemicalFactoryMapper, ChemicalFactory> implements ChemicalFactoryService {

    @Autowired
    private ChemicalFactoryMapper chemicalFactoryMapper;
    @Override
    public List<ChemicalFactory> queryFactory() {
        List<ChemicalFactory> chemicalFactories = chemicalFactoryMapper.queryFactory();
        return chemicalFactories;
    }
}
